package com.service;

import javax.annotation.Resource;

import org.springframework.stereotype.Service;

import com.dao.CountMapper;
import com.entity.Count;
import com.entity.Uploadfile;
import com.entity.Visitors;

@Service
public class CountService {

	@Resource
	CountMapper countMapper;
	
	public int insert(Count count){
		return countMapper.insert(count);
	}
	
	public Uploadfile OwnerPush(String id){
		return countMapper.OwnerPush(id);
	}
	
	public Visitors VisitorsPush(String id){
		return countMapper.VisitorsPush(id);
	}
	
	public int uptouploadfileandexamine(String yid,String examine ){
		return countMapper.uptouploadfileandexamine( yid,examine);
	}
}
